package wangxiaotao.utils;

import cn.hutool.core.util.RandomUtil;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * 生成Number
 */
public class NoUtils {
    public static String setOrderNo(){
        return LocalDateTime.now().format(DateTimeFormatter.BASIC_ISO_DATE)+ RandomUtil.randomNumbers(8);
    }

    public static String setRoomNo(String floor){
        return "0"+floor+"001";
    }
}
